﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DTO
{
    public class DanhMucChinhDTO
    {
        int _maDanhMucChinh;

        public int MaDanhMucChinh
        {
            get { return _maDanhMucChinh; }
            set { _maDanhMucChinh = value; }
        }
        string _tenDanhMucChinh;

        public string TenDanhMucChinh
        {
            get { return _tenDanhMucChinh; }
            set { _tenDanhMucChinh = value; }
        }

        private int _deleted;
        public int Deleted
        {
            get { return _deleted; }
            set { _deleted = value; }
        }

        private int _thuTu;

        public int ThuTu
        {
            get { return _thuTu; }
            set { _thuTu = value; }
        }

        public DanhMucChinhDTO()
        {

        }

        public DanhMucChinhDTO(int ma, string ten, int thutu)
        {
            _maDanhMucChinh = ma;
            _tenDanhMucChinh = ten;
            _thuTu = thutu;
        }

        public DanhMucChinhDTO(int ma, string ten)
        {
            _maDanhMucChinh = ma;
            _tenDanhMucChinh = ten;
        }

        public DanhMucChinhDTO(string ten, int thutu)
        {
            _tenDanhMucChinh = ten;
            _thuTu = thutu;
        }
    }
}
